package com.ihr360.payroll.service.salaryreport;

import com.ihr360.payroll.model.dto.salary.report.MergeSalaryReportTermSalary;
import com.ihr360.payroll.request.salaryReport.MergeSalaryQueryRequest;
import com.ihr360.payroll.type.ReportState;
import com.ihr360.rest.service.SimpleRestService;

import java.util.Date;
import java.util.List;

/**
 * Created by Eric on 2018/4/12/012.
 */
public interface MergeSalaryReportTermSalaryService extends SimpleRestService<MergeSalaryReportTermSalary, Long> {
    void deleteByCompanyIdAndMergeReportId(String companyId, Long mergeReportId);

    MergeSalaryReportTermSalary getTermSalary(String companyId, MergeSalaryQueryRequest reportRequest);

    MergeSalaryReportTermSalary queryTermSalary(String companyId, Long mergeReportId, Date termDate, Integer indexno);

    List<MergeSalaryReportTermSalary> queryTermSalaryByTermDateAndState(String companyId, Long mergeReportId, Date termDate, ReportState state);
}
